<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/5/29 0029
 * Time: 22:04
 */

namespace console\controllers;

use app\models\ArcAndroid;
use app\models\ArcClassify;
use app\models\ArcProgress;
use app\models\ArcTrain;
use app\models\AsrAudio;
use app\models\AsrCustomer;
use app\models\AsrFiles;
use app\models\AsrKeyword;
use app\models\AsrKeywordClassify;
use app\models\AsrPlan;
use app\models\ThingRecordFile;
use common\helps\AsrSearch;
use common\helps\Foo;
use common\helps\ProcessStart;

//打开所有级别的错误
//error_reporting(-1);

class WebsSocketController extends CommonController
{

    public function actionStart($addr, $port)
    {
        $options['addr'] = $addr;
        $options['port'] = $port;
        $options['listening'] = "";
        $options['request'] = "";
        $ser = new \WebSocket\Server($options);
    }

}
